package org.csu.laboratoryequipment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("borrow")
public class Borrow implements Serializable {

    @TableId(value = "TransactionID",type = IdType.INPUT)
    private int TransactionID;

    @TableField(value = "UserID")
    private String UserID;

    @TableField(value = "EquipmentID")
    private String EquipmentID;

    @TableField(value = "BorrowDate")
    private Date BorrowDate;

    @TableField(value = "ReturnDate")
    private Date ReturnDate;

    @TableField(value = "Status")
    private int Status;


}
